package com.frame.util;

public class Pagination {

	private String action;
	private String parm;
	private int pageSize;
	private int pageNo;
	private	int pageCount;
	private int resultCount;
	private int middle=12;
	private int totalCount;

	public Pagination(int pageSize,int pageNo,int pageCount,int listSize,int totalCount){
		this.pageSize=pageSize;
		this.pageNo=pageNo;
		this.pageCount=pageCount;
		this.resultCount=listSize;
		this.totalCount=totalCount;
	}

	public int getPageCount() {
		return pageCount;
	}
	public void setPageCount(int pageCount) {
		this.pageCount = pageCount;
	}
	public int getPageNo() {
		return pageNo;
	}
	public void setPageNo(int pageNo) {
		this.pageNo = pageNo;
	}
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public int getMiddle() {
		return middle;
	}
	public void setMiddle(int middle) {
		this.middle = middle;
	}
	public int getResultCount() {
		return resultCount;
	}
	public void setResultCount(int resultCount) {
		this.resultCount = resultCount;
	}
	public int getTotalCount() {
		return totalCount;
	}
	public void setTotalCount(int totalCount) {
		this.totalCount = totalCount;
	}

}
